/* eslint-disable */

'use strict'
import http from 'luban-http'
import config from '@api/config'

import { getApiConfig } from '@helpers/api'

const USER_ADMIN_URL = getApiConfig(config, 'USER_ADMIN_URL')

export const ApiGetLoginUser = params =>
  http.$GET(`${USER_ADMIN_URL}/user/getLoginUser`, params)
export const ApiGetUserInfoBySn = sn =>
  http.$GET(`${USER_ADMIN_URL}/user/getUserInfoBySn/${sn}`)
export const ApiLogout = () => http.$GET(`${USER_ADMIN_URL}/user/logout`)
